<!--{include manage_header}-->

<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="partner">
	<div class="dashboard" id="dashboard">
		<ul>${mcurrent_user('proxy')}</ul>
	</div>
	<div id="content" class="clear mainwide">
        <div class="clear box">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head"><h2>代理商列表</h2>
                <ul class="filter"><li><a href="/ajax/manage.php?action=edit_proxy" class="ajaxlink">新建代理商</a></li></ul>
                </div>
                <div class="sect">
					<table id="orders-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table">
					<tr><th width="40">ID</th><th width="320">名称</th><th width="60">城市</th><th width="120">电话号码</th><th width="130">QQ</th><th width="100">操作</th></tr>
					<!--{loop $proxys $index $one}-->
					<tr ${$index%2?'':'class="alt"'} id="team-list-id-{$one['id']}">
						<td>{$one['id']}</td>
						<td style="text-align:left;">{$one['title']}</td>
						<td nowrap>{$cities[$one['city_id']]}</td>
						<td nowrap>{$one['kefu_tel']}</td>
						<td nowrap>{$one['kefu_qq']}</td>
						<td class="op" nowrap><a href="/ajax/manage.php?action=proxy_user&id={$one['id']}" class="ajaxlink">用户</a>｜<a href="/ajax/manage.php?action=edit_proxy&id={$one['id']}" class="ajaxlink">编辑</a>｜<a href="/ajax/manage.php?action=proxyremove&id={$one['id']}" class="ajaxlink" ask="确定删除本商户？">删除</a></td>
					</tr>
					<!--{/loop}-->
					<tr><td colspan="8">{$pagestring}</td></tr>
                    </table>
				</div>
            </div>
            <div class="box-bottom"></div>
        </div>
	</div>

<div id="sidebar">
</div>

</div>
</div> <!-- bd end -->
</div> <!-- bdw end -->

<!--{include manage_footer}-->
